#include "Attack.h"
#include "GameObject.h"

Attack::Attack(GameObject* gameobject)
{
   gameobject->getGraphicsComponent()->getIAnimatorMesh()->setFrameLoop(0, 30);
}


Attack::~Attack(void)
{
	//delete mGameObject;
	//mGameObject = NULL;
}
bool Attack::init()
{

	//int frame = mGameObject->getGraphicsComponent()->getIAnimatorMesh()->getEndFrame();
	//mGameObject->getGraphicsComponent()->getIAnimatorMesh()->setFrameLoop(0, 30);
	//mGameObject->getGraphicsComponent()->getIAnimatorMesh()->setAnimationSpeed(30.0f);
	return true;
}